ALL = gobang.out
cc = g++
CFLAGS = -std=c++11


.PHONY:gobang
gobang:gobang.out

gobang.out:gobang.cc gobang_server.hpp online.hpp session.hpp db.hpp room_manage.hpp room.hpp matcher.hpp
	${cc} -o $@ $< $(CFLAGS) -L/lib64/mysql/ -lmysqlclient -ljsoncpp -lboost_system -lpthread

.PHONY:clean
clean:
	rm -f ${ALL}